package com.xsf.pay.entity;

import java.util.Date;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 运营审核单表(OperationAudit)运营审核单表
 *
 * @author makejava
 * @since 2025-05-12 15:00:32
 */

@Data
@TableName("xsf_operation_audit")
@Accessors(chain = true)
public class OperationAudit implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 审核单ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 关联交易ID
     */
    @TableField("transaction_id")
    private String transactionId;

    /**
     * 审核类型：1-充值审核，2-提现审核
     */
    @TableField("audit_type")
    private Integer auditType;

    /**
     * 状态：0-待审核，1-通过，2-拒绝
     */
    @TableField("status")
    private Integer status;

    /**
     * 审核人ID
     */
    @TableField("auditor_id")
    private String auditorId;

    /**
     * 审核时间
     */
    @TableField("audit_time")
    private Date auditTime;

    /**
     * 审核备注
     */
    @TableField("audit_remark")
    private String auditRemark;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 更新时间
     */
    @TableField("updated_at")
    private Date updatedAt;

}
